projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88dc98
)
Cosmetics
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 Jul 2021 13:10:27 +0000
(09:10 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 Jul 2021 13:10:27 +0000
(09:10 -0400)
Amend LD_PRELOAD instead of replacing it, so you can just
point it at the right libgtk-4.so while running squares.py
from elsewhere.
examples/squares.py
patch
|
blob
|
history
diff --git
a/examples/squares.py
b/examples/squares.py
index 5aea3d32cd714bb7c8a8dc0775ce7dbf36fb723b..7e46c7f94ade16ca935ac04ece56b398c8930264 100755
(executable)
--- a/
examples/squares.py
+++ b/
examples/squares.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env -S GI_TYPELIB_PATH=${PWD}/build/gtk:${GI_TYPELIB_PATH} LD_PRELOAD=${PWD}/build/gtk/libgtk-4.so python3
+#!/usr/bin/env -S GI_TYPELIB_PATH=${PWD}/build/gtk:${GI_TYPELIB_PATH} LD_PRELOAD=${
LD_PRELOAD}:${
PWD}/build/gtk/libgtk-4.so python3
import gi